//Tree driver function.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <stack>
#include <queue>
#include <limits.h>
#include "tree.h"

using namespace std;

int data[] = {2,7,8,67,54,23,4,5,6};

int main(int argc, char* argv[])
{
    Tree *root=NULL;

    for(int i = 0; i < sizeof(data)/sizeof(int); i++)
       TreeInsert(root, data[i]);

    printf("\n\n");
    print_ascii_tree(root);

    return 1;
}
